#include <iostream>
#include <string>
using namespace std;

class Humans{
	string name;
	int age;
public:
	Humans(string,int);
	~Humans();
	string getName();
	int getAge();
};

Humans::Humans(string s,int tuoi){
	name = s;
	age = tuoi;
}// end ham khoi tao

Humans::~Humans(){ 
	//do something
	//delete pointer
}//end ham huy

string Humans::getName(){
	return name;
}

int Humans::getAge(){
	return age;
}

int main(){
	Humans man("Dinh Hong Phi",18);
	cout <<"Ho va ten: "<< man.getName()<< endl;
	cout << "Tuoi : " << man.getAge() << endl;
	return 0;

}